package org.real.guetshop.pojo.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 购物车
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ShopCart{

    private Integer id;

    //名称
    private String name;

    //用户id
    private Integer userId;

    private String username;

    //商品id
    private Integer productId;

    //商店名称
    private String storeName;

    //商店id
    private Integer storeId;

    //数量
    private Integer number;

    //单位
    private String unit;

    //金额
    private BigDecimal amount;

    //图片
    private String image;

    private BigDecimal price;

    private LocalDateTime createTime;
}
